package com.ymtms.applicationsystem.dao;


import com.ymtms.applicationsystem.pojo.CollectionBusinessParameters;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionBusinessParametersMapper {
    // 查询可用项
    List<CollectionBusinessParameters> selectAllCbp();
    // 查询包括不可用项
    List<CollectionBusinessParameters> selectCbpNGStatus();

    int updateInfo(CollectionBusinessParameters collectionBusinessParameters);

    int insertCbp(CollectionBusinessParameters collectionBusinessParameters);

    int deleteByCbpid(Integer cbpid);

    int updateStatusByCbpid(@Param("cbpid") Integer cbpid, @Param("status") Integer status);

    CollectionBusinessParameters selectBytype(@Param("type") String type);

    int deleteByPrimaryKey(Integer cbpid);

    int insert(CollectionBusinessParameters record);

    int insertSelective(CollectionBusinessParameters record);

    CollectionBusinessParameters selectByPrimaryKey(Integer cbpid);

    int updateByPrimaryKeySelective(CollectionBusinessParameters record);

    int updateByPrimaryKey(CollectionBusinessParameters record);



}